
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="latLongs" type="{http://s.mappoint.net/mappoint-30/}ArrayOfLatLong" minOccurs="0"/>
 *         &lt;element name="dataSourceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="preference" type="{http://s.mappoint.net/mappoint-30/}SegmentPreference"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "latLongs",
    "dataSourceName",
    "preference"
})
@XmlRootElement(name = "CalculateSimpleRoute")
public class CalculateSimpleRoute {

    protected ArrayOfLatLong latLongs;
    protected String dataSourceName;
    @XmlElement(required = true)
    protected SegmentPreference preference;

    /**
     * Gets the value of the latLongs property.
     * 
     * @return
     *     possible object is
     *     {@link ArrayOfLatLong }
     *     
     */
    public ArrayOfLatLong getLatLongs() {
        return latLongs;
    }

    /**
     * Sets the value of the latLongs property.
     * 
     * @param value
     *     allowed object is
     *     {@link ArrayOfLatLong }
     *     
     */
    public void setLatLongs(ArrayOfLatLong value) {
        this.latLongs = value;
    }

    /**
     * Gets the value of the dataSourceName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDataSourceName() {
        return dataSourceName;
    }

    /**
     * Sets the value of the dataSourceName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDataSourceName(String value) {
        this.dataSourceName = value;
    }

    /**
     * Gets the value of the preference property.
     * 
     * @return
     *     possible object is
     *     {@link SegmentPreference }
     *     
     */
    public SegmentPreference getPreference() {
        return preference;
    }

    /**
     * Sets the value of the preference property.
     * 
     * @param value
     *     allowed object is
     *     {@link SegmentPreference }
     *     
     */
    public void setPreference(SegmentPreference value) {
        this.preference = value;
    }

}
